package com.micro.config;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

import java.lang.annotation.*;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@EnableDiscoveryClient
@EnableFeignClients
@ComponentScan
public @interface EnableScan {
    String[] value() default {};

    String[] basePackages() default { "com.api","com.micro"};

    Class<?>[] basePackageClasses() default {};

}
